READ_ME

main.m --->select shapelet
main2.m ----> tranfer the original data to distance data
main3.m -----> just logistic regression 
main4_weighted_gla.m -----> weighted group lass 
mian5_sparse_glasso.m ------> the proposed method


To run 

In main.m change tge dataset name in the following lines (line 1,7,8): 
"dataset_name = 'CBF';
TRAIN = CBF_TRAIN;
TEST = CBF_TEST;"

And the shapelet length in [5,10,15,20,25,30] in line 29.
subsequence_cell = sample_subsequence( TRAIN, [5,10,15,20,25,30], 5, 5 ); 

Then run main.m ----> main2.m ---------> main5_sparse_glasso.m  

The results are stored in ./result dir.



